package com.mqtt.common.core.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Controller;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wang
 * @version 1.0
 * @data 2024/3/3 下午 9:36
 * @desc 描述信息
 */

@Data
public class MyBasieEntity implements Serializable {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
